import axios from 'axios'

export const getDog = () => {
  return axios({
    method: 'GET',
    url: '/api/search?word=%E7%8B%97'
  })
}
export const getCat = () => {
  return axios({
    method: 'GET',
    url: '/api/search?word=%E7%8C%AB'
  })
}
export const getGoods = () => {
  return axios({
    method: 'GET',
    url: '/api/search?word=%E5%91%A8%E8%BE%B9'
  })
}
export const getWater = () => {
  return axios({
    method: 'GET',
    url: '/api/search?word=%E6%B0%B4%E6%97%8F'
  })
}
export const getPets = () => {
  return axios({
    method: 'GET',
    url: '/api/search?word=%E5%B0%8F%E5%AE%A0%E7%89%A9'
  })
}
export const getReptiles = () => {
  return axios({
    method: 'GET',
    url: '/api/search?word=%E7%88%AC%E8%99%AB%E5%AE%A0%E7%89%A9'
  })
}
export const getBird = () => {
  return axios({
    method: 'GET',
    url: '/api/search?word=%E9%B8%9F'
  })
}
